package com.hairline.service;

import com.hairline.bean.Category;
import com.hairline.bean.Goods;
import com.hairline.bean.User;
import com.hairline.bean.vo.WxGoodsDetailVO;
import com.hairline.bean.vo.WxGoodsRelatedVO;

import java.util.List;

public interface WxGoodsService {
    WxGoodsDetailVO goodsDetail(Integer id, User user);

    WxGoodsRelatedVO goodsRelated(Integer id);

    int selectSortIdById(Integer categoryId);

    List<Goods> selectGoodsByCategoryId(Integer categoryId);

    List<Category> selectGoodsBySortId(int sortOrder, Integer page, Integer size);

}
